package cn.itrip.service.Impl;

import cn.itrip.dao.ItripAreaDicMapper;
import cn.itrip.entity.ItripAreaDic;
import cn.itrip.service.ItripAreaDicServcie;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ItripAreaDicServcieImpl extends ServiceImpl<ItripAreaDicMapper,ItripAreaDic> implements ItripAreaDicServcie {
    @Override
    public List<ItripAreaDic> queryTradeAreaHot(String flag) {
        return baseMapper.queryTradeAreaHot(flag);
    }

    @Override
    public List<ItripAreaDic> queryTradeArea(String cityId) {
        return baseMapper.queryTradeArea(cityId);
    }
}
